/**
 * @description: Request result set
 */
export enum ResultEnum {
	SUCCESS = 0,
	ERROR = 1,
	TIMEOUT = 401,
	TYPE = 'success',
}
/**
 * @description: request method
 */
export enum RequestEnum {
	GET = 'GET',
	POST = 'POST',
	PUT = 'PUT',
	DELETE = 'DELETE',
}

/**
 * @description:  contentTyp
 */
export enum ContentTypeEnum {
	// json
	JSON = 'application/json',
	// form-data qs
	FORM_URLENCODED = 'application/x-www-form-urlencoded',
	// form-data  upload
	FORM_DATA = 'multipart/form-data',
}

/**
 * 请求header
 * @description:  contentType
 */

export enum ConfigEnum {
	// TOKEN
	TOKEN = 'X-Access-Token',
	// TIMESTAMP
	TIMESTAMP = 'X-TIMESTAMP',
	// Sign
	Sign = 'X-Sign',
	// 租户id
	TENANT_ID = 'X-Tenant-Id',
	// 版本
	VERSION = 'X-Version',
	// 低代码应用ID
	X_LOW_APP_ID = 'X-Low-App-ID',
}
